package 试题和试卷;

import javax.swing.*;

public class selectionQuestion extends question{
    JRadioButton select;
    String option_a,option_b,option_c,option_d;

    public selectionQuestion(String title,String text,String type,double difficulty,int fullscore,String answer){
        super();
        this.title=title;
        this.text=text;
        this.type=type;
        this.difficulty=difficulty;
        this.fullScore=fullscore;
        this.answer=answer;
    }

    public void setOption_a(String a){
        option_a=a;
    }

    public void setOption_b(String a){
        option_b=a;
    }

    public void setOption_c(String a){
        option_c=a;
    }

    public void setOption_d(String a){
        option_d=a;
    }

    public String getOption_a(){
        return option_a;
    }

    public String getOption_b(){
        return option_b;
    }

    public String getOption_c(){
        return option_c;
    }

    public String getOption_d(){
        return option_d;
    }

}
